import type { MemberLogin } from "@/types/member"
import { http } from "@/utils/request"

//会员登录：小程序登录-内测版
export const loginSimple = (phoneNumber: string) => {
  return http<MemberLogin>({
    url: '/login/wxMin/simple',
    method: 'POST',
    data: {
      phoneNumber
    }
  })
}